package basic3;

public class J03_20 {

	public static void main(String[] args) {
		int n = 1;
		int k = 2;
		int r = n;
		int l;
		int o = k;
		int p = 3;
		
		
		if (k < n) r=k;
		System.out.println(r);
		
		if (n < k) l = k;
		else l = k + n;
		System.out.println(l);
		
		if (o < k) n = o;
		else k = n;
		System.out.println(o);
		
		if (p < n + k) r = 2 * n;
		else k = 2*p;
		System.out.println(p);
	
		
		

	}

}
